package Demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-07-09
 * Time: 16:28
 */
public class Card {
    private String decor;
    private String number;

    public Card(String decor, String number) {
        this.decor = decor;
        this.number = number;
    }

    @Override
    public String toString() {
        return "{" + decor + number + "} ";
    }
}
